package Semester_2.src.Util_1.practice;

public class Student {
    private String name;
    private int grades;
    public Student(){}
    public Student(String name,int grades){
        this.name=name;
        this.grades=grades;
    }
    public void setName(String name){
        this.name=name;
    }
    public String getName(){
        return this.name;
    }
    public void setGrades(int grades){
        this.grades=grades;
    }
    public int getGrades(){
        return this.grades;
    }

    @Override
    public String toString() {
        return name +"  "+grades;
    }
}
